package com.snailxr.base.task.dao;

import java.util.List;

import com.snailxr.base.task.domain.ScheduleJob;

public interface ScheduleJobDao {
	
	//根据ID删除数据
	boolean deleteByPrimaryKey(Long jobId);

	//插入一条数据
	int insert(ScheduleJob record);

	//插入一条数据
	int insertSelective(ScheduleJob record);

	//查询
	ScheduleJob selectByPrimaryKey(Long jobId);

	//更新
	boolean updateByPrimaryKeySelective(ScheduleJob record);

	//更新
	int updateByPrimaryKey(ScheduleJob record);

	//获取全部
	List<ScheduleJob> getAll();
}